package ink.teamwork.sys.service;

import com.googlecode.genericdao.search.SearchResult;
import ink.teamwork.sys.entity.SysUser;

import java.util.List;

public interface SysUserService {

    SysUser queryById(Long id);

    Boolean saveOrUpdate(SysUser SysUser);

    SearchResult<SysUser> queryPage(int start, int size);

    SysUser queryByEmail(String email);

    List<SysUser> listAll();

}
